#include "sort_compare.h"
#include "gtest/gtest.h"

TEST(sort_compare_test, sort_compare_test_generate)
{
  cout << "sorting testGenerate"<< endl;
  cout << Measure::execution(testGenerate)<< endl;
	// EXPECT_EQ(arr[i], eq[i]);
}

TEST(sort_compare_test, sort_compare_test_compare_time)
{
	auto t = Measure::execution(testGenerate);
	beforetestSort();
	t += Measure::execution(testSort);
	t += Measure::execution(testCopy);

	EXPECT_EQ(Measure::execution(testInt), t);
}
